﻿Imports Do_An.TinTucTableAdapters

Public Class WebForm3
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        If IsPostBack = False Then
            Dim id As String = Request.QueryString("MaChiTiet").ToString()
            Dim tintucAdapter As New TinTucTableAdapters.BaiBaoTableAdapter
            FVChiTiet.DataSource = tintucAdapter.GetBaiBaobyMaTin(id)
            FVChiTiet.DataBind()
        End If
    End Sub

End Class